package net.yyge.manifest.editor.tag;

import org.w3c.dom.Element;
import org.w3c.dom.NamedNodeMap;

import java.util.HashMap;
import java.util.Map;

public class UsesSdkTag  extends XmlTag{
     Map<String, String> data = new HashMap<String, String>();
    private Element element;

    public UsesSdkTag(Element element) {
        this.element = element;
        NamedNodeMap attrMap = element.getAttributes();
        putData(attrMap, data);
    }

    public UsesSdkTag setValue(String attrName,String value){
        setValue(element,attrName,attrName);
        return this;
    }
    public UsesSdkTag addAttr(String attrName,String value){
        addAttribute(element,attrName,value);
        return this;
    }
}
